home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 4
/
FM Towns Free Software Collection 4 - Disc 1.iso
/
data
/
games
/
ray1.bas
< prev
next >
Wrap
BASIC Source File
|
1991-10-18
|
1KB
|
38 lines
1000 '
1010 ' ライザンバー横長
1020 '
1030 CLS
1040 PRINT "***ライザンバー横長":PRINT
1050 PRINT "ディスクをAドライブに入れて何かキーを押して下さい"
1060 WHILE INKEY$="":WEND
1070 '
1080 OPEN "R",#1,"a:(1)\tbios.bin"
1090 FIELD #1,1 AS DT$
1100 ADR=&HF71
1110 '
1120 READ REGSET,NUM
1130 FOR J=1 TO NUM
1140 READ REG,DAT:OFST=ADR+64*(REGSET-1)+REG*2
1150 LSET DT$=CHR$(DAT MOD 256):PUT #1,OFST
1160 LSET DT$=CHR$(DAT \ 256):PUT #1
1170 NEXT
1180 CLOSE
1190 '
1200 OPEN "R",#1,"a:(1)\game.exp"
1210 FIELD #1,1 AS DT$
1220 READ NUM
1230 FOR J=1 TO NUM
1240 READ O$,D$:OFST=VAL("&H"+O$):DAT=VAL("&H"+D$)
1250 LSET DT$=CHR$(DAT MOD 256):PUT #1,OFST+1
1260 NEXT
1270 CLOSE
1280 END
1290 '
1300 ' レジスタセット29(ハイスキャン 5+10)
1310 DATA 29,10
1320 DATA 0,80,1,590,4,669,29,3,9,128,18,128,10,642,11,128,22,128,12,642
1330 '
1340 DATA 15
1350 DATA 347,0,3A1,0,2AD4,80,2AF2,80,2B33,80,2B77,80,178B0,80,178B4,80
1360 DATA 178BC,80,1E06,80,1E32,80,1703,80,2C3C,80,178C8,80,178D4,80